﻿using DevExpress.ExpressApp.Model;
using DevExpress.ExpressApp.Model.Core;

namespace EasyXaf.ImageViewers
{
    public class ImageViewerPropertyEditorCalcultor : VisibilityCalculatorBase, IModelIsVisible
    {
        public bool IsVisible(IModelNode node, string propertyName)
        {
            return ModelPropertyEditorCalculator.IsPropertyAssignableFromEditorAlias(node, "ImageViewerEditor");
        }
    }
}
